package take07;

import java.util.Scanner;

/**
 * @author Administrator
 */
public class Test2 {
    public static void main(String[] args) {
        System.out.println("请输入一个成绩：");
        Scanner scanner=new Scanner(System.in);
        int x=scanner.nextInt();
        switch (x/10){
            case 10:
            case 9:
                System.out.println("优秀");
                break;
            case 8:
                System.out.println("良好");
                break;
            case 7:
                System.out.println("中等");
                break;
            case 6:
                System.out.println("及格");
                break;
            default:
                System.out.println("不及格");
                break;
        }
    }
}




